/* ====================================================================
 * (#)Header: Formula.java
 * (#)Revision: 
 * (#)Date Created: Mar 26, 2013
 * (#)Created By: Karol Wozniak
 * ====================================================================
 *
 * Copyright (c) 2013 karolak .  All rights reserved.
 *
 * ====================================================================
 * 
 * The software application represented here is the sole property of 
 * karolak. Its unauthorized utilization is expressly prohibited.
 * 
 * ====================================================================
 */
package com.karolak.math.formula;

/**
 * <code>Formula</code> is used to ....
 * 
 * @author <a href="mailto:kwozniak@hotmail.com">Karol Wozniak</a>
 */
public class Formula {

	private String name;

	public Formula() {
		setName(getClass().getSimpleName());
	}

	public Formula(String name) {
		setName(name);
	}

	public double execute(double x) {
		return x;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
